﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Base;

public partial class job_Job : BasePage
{
    string Mode = "";
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request.QueryString["mode"] != null && Request.QueryString["mode"] != "")
            Mode = Request.QueryString["mode"];
        if (!IsPostBack)
        {
            if (Request["pageType"]!=""&&Request["pageType"]!=null)
                Mode = Request["pageType"];
            if (Mode != "")
                Bind("JOB_TRADE");
            else
                Bind("RESUME_TRADE");
        }
    }

    private void Bind(string Mode)
    {
        string WSbody = new nspLable.Using.Principal().GetTemplate(Mode);
        Response.Write(WSbody);
    }
}
